import Vue from 'vue'
import App from './App.vue'
// import '@/assets/iconfont/iconfont.css'
import '@/assets/css/reset.css'
import { Tabbar, TabbarItem, Toast } from 'vant'
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.prototype.$toast = Toast // 全局导入toast

// if (process.env.VUE_APP_CURRENTMODE === 'dev') {
if (process.env.VUE_APP_CURRENTMODE === 'dev' || process.env.VUE_APP_CURRENTMODE === 'test') {
  const VConsole = require('vconsole')
  // eslint-disable-next-line
  const my_console = new VConsole()
}

Vue.config.productionTip = false

new Vue({
  render: h => h(App)
}).$mount('#app')
